.TH std::ranges::view_interface::cbegin 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::ranges::view_interface::cbegin \- std::ranges::view_interface::cbegin

.SH Synopsis
   constexpr auto cbegin();                                       \fB(1)\fP (since C++23)
   constexpr auto cbegin() const requires ranges::range<const D>; \fB(2)\fP (since C++23)

   The default implementation of cbegin() member function returns a constant beginning
   iterator of the range.

   range-begin-end.svg

   1) Let derived be a reference bound to static_cast<D&>(*this).
   Equivalent to return ranges::cbegin(derived);.
   2) Same as \fB(1)\fP, except that derived is static_cast<const D&>(*this).

.SH Parameters

   \fI(none)\fP

.SH Return value

   A constant beginning iterator of the range.

.SH Notes

   All range adaptors and range factories in the standard library and
   std::ranges::subrange use the default implementation of cbegin.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   begin
   cbegin         returns an iterator to the beginning of a container or array
   \fI(C++11)\fP        \fI(function template)\fP
   \fI(C++14)\fP
   ranges::cbegin returns an iterator to the beginning of a read-only range
   (C++20)        (customization point object)

.SH Category:
     * Todo no example
